﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace DAL.Migrations
{
    public partial class outss : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropPrimaryKey(
                name: "PK_Outcall",
                table: "Outcall");

            migrationBuilder.RenameTable(
                name: "Outcall",
                newName: "Outcalls");

            migrationBuilder.AddPrimaryKey(
                name: "PK_Outcalls",
                table: "Outcalls",
                column: "Outcalls_Id");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropPrimaryKey(
                name: "PK_Outcalls",
                table: "Outcalls");

            migrationBuilder.RenameTable(
                name: "Outcalls",
                newName: "Outcall");

            migrationBuilder.AddPrimaryKey(
                name: "PK_Outcall",
                table: "Outcall",
                column: "Outcalls_Id");
        }
    }
}
